package com.example.springtest.grade.mapper;

import com.example.springtest.grade.pojo.Grade;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper

public interface GradeMapper {

    List<Grade> getList();

    void save(Grade grade);

    int delete(Integer id);

    Grade getById(Integer id);

    int edit(Grade grade);
}
